Skip to content

Update empty Python data structure constructors#2289

Open
ndgrigorian wants to merge 1 commit intomasterfrom
use-simplified-python-constructors
Open

Update empty Python data structure constructors#2289
ndgrigorian wants to merge 1 commit intomasterfrom
use-simplified-python-constructors

Conversation

@ndgrigorian
Copy link
Copy Markdown
Collaborator

This PR updates and makes consistent formatting in the project, by opting to replace all calls to the named constructors of empty Python data structures (list(), dict(), and tuple()) with their simpler constructors ([], {}, ()).

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • Have you added documentation for your changes, if necessary?
  • Have you added your changes to the changelog?
  • If this PR is a work in progress, are you opening the PR as a draft?

use the simplified constuctors throughtout the project
@github-actions
Copy link
Copy Markdown

@coveralls
Copy link
Copy Markdown
Collaborator

Coverage Status

coverage: 77.341%. remained the same — use-simplified-python-constructors into master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants